package modules.communication
{
	import flash.net.NetConnection;
	
	import modules.GameDispatcher;

	public class MsgReceiver
	{
		private var netConnection:NetConnection;
		
		public static var dispatcher:GameDispatcher = GameDispatcher.instance;
		
		public function MsgReceiver(netConnection:NetConnection)
		{
			this.netConnection = netConnection;
			this.netConnection.client = this;
		}
		
		public function messageNtf(info:*):void
		{
			logger(JSON.stringify(info));
			
		}
	}
}